package com.cqrt.service;

import com.cqrt.entity.AuthorityManagementDO;
import com.github.pagehelper.PageInfo;
import com.ty.basic.entity.org.UserDO;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;
import java.util.Set;

public interface AuthorityManagementService {
    void insertAuthority(AuthorityManagementDO authorityManagementDO);

    void updateAuthority(AuthorityManagementDO authorityManagementDO);

    PageInfo<AuthorityManagementDO> selectAllAuthority(Integer pageNum, Integer pageSize);

    void deleteAuthorityByOid(BigInteger oid);

    List<AuthorityManagementDO> selectAuthorityByUid(BigInteger oid);

    PageInfo<UserDO> selectAuthorityUser(String userName, int pageNum, int pageSize);

    List<String> selectAuthorityProjectType();

    Map<String, Map<String, Set<String>>> selectAuthorityProjectIbaAttr();

}
